Which organelle is primarily responsible for the production of ATP through oxidative phosphorylation?