The effect of oxygen fugacity on the redox state of natural liquids and their crystallizing phases