QM/MM studies of Ni-Fe hydrogenases: the effect of enzyme environment on the structure and energies of the inactive and active states.