Sudan generals agree in principle to civilians naming prime minister, head of state