Gravitational potential energy of the earth: A spherical harmonic approach