The influence of oxygen and electronegativity on iron mineral chemistry throughout Earth’s history