The UN has warned of escalating ethnic violence in Sudan, citing rising civilian deaths and a deepening power struggle.