Determination of the oxidation state of cerium in rocks by Ce LIII-edge X-ray absorption near-edge structure spectroscopy