Electronic structure of Li1+x[Mn0.5Ni0.5]1−xO2 studied by photoemission and x-ray absorption spectroscopy