Analysis of oxidized layers on pyrite surfaces by X-ray emission spectroscopy and cyclic voltammetry