Temperature and oxygen fugacity constraints on CK and R chondrites and implications for water and oxidation in the early solar system