Proton trapping in SiO2 layers thermally grown on Si and SiC