Equilibrium free energies from path sampling of nonequilibrium trajectories