High-valent [MnFe] and [FeFe] cofactors in ribonucleotide reductases