Inhibition of complex I regulates the mitochondrial permeability transition through a phosphate-sensitive inhibitory site masked by cyclophilin D.