Structural and electronic characterization of heme moiety in oxygenated hemoproteins by using XANES spectroscopy