Conformational flexibility in free energy simulations