Angular dependence of core hole screening in LiCoO2 : A DFT+U calculation of the oxygen and cobalt K-edge x-ray absorption spectra