Spectroscopic assessment of silica-titania and silica-hafnia waveguides