A crystallizing dense magma ocean at the base of the Earth’s mantle