Calculating the ocean's mean dynamic topography from a mean sea surface and a geoid