Quasi-in-situ reflection mode XANES at the Ti K-edge of lithium intercalated TiO2 rutile and anatase