Proton-induced changes of optical properties and defect formation in quartz glasses