Hydrodynamic interaction of a spherical particle with a planar boundary I. Free surface