Calculating Free Energy Differences Using Perturbation Theory