XAS and XPS study of electronic structure of the trivalent cuprate La2Li0.5Cu0.5O4−δ