A review on the structural studies of batteries and host materials by X-ray Absorption Spectroscopy