The adiabatic gradient and the melting point gradient in the core of the Earth