The four-stage evolution of Martian mantle inferred from numerical simulation of the magmatism-mantle upwelling feedback