Spatiotemporal control of mitosis by the conserved spindle matrix protein Megator