Speciation of deeply buried TiO x nanolayers with grazing-incidence x-ray fluorescence combined with a near-edge x-ray absorption fine-structure investigation