Accelerating QM/MM Calculations by Using the Mean Field Approximation