Growth of the hemispheric dichotomy and the cessation of plate tectonics on Mars