Prokaryotic origins for the mitochondrial alternative oxidase and plastid terminal oxidase nuclear genes