Phylogenomics of the oxidative phosphorylation in fungi reveals extensive gene duplication followed by functional divergence