Control of the functionality of mitochondrial flavoenzymes by flavin cofactor movement across the mitochondrial membranes