Determining the solvation correlation function from three-pulse photon echoes in liquids