Microscopic basis for kinetic gating in cytochrome c oxidase: insights from QM/MM analysis