Local electronic structure and magnetic properties of LaMn0.5Co0.5O3 studied by x-ray absorption and magnetic circular dichroism spectroscopy dichroism spectroscopy