Officers who ousted President Omar al-Bashir from three decades in power have announced that a military council will run Sudan for a transitional period lasting up to two years, followed by elections.