In situ studies of a dispersed platinum on carbon electrode using X-ray absorption spectroscopy