Oxygen ordering, phase separation and the 60-K and 90-K plateaus in YBa2Cu3Ox