X-ray photoelectron spectroscopy of SiO2-HfO2 amorphous and glass-ceramic waveguides: a comparative study