X-ray absorption spectroscopy of Ce2O3+ and Ce2O5+ near Ce M-edge