Study of LiCoO2 nanoparticles by hard x-ray emission and absorption spectroscopies