Calibration of a Shack-Hartmann wavefront sensor using spherical wavefronts from a point source