Johannes IV., Imperium Byzantinum, Imperator