Evolution of a regulatory enzyme: cytochrome-c oxidase (complex IV)