Electron spin resonance and optical studies of oxygen vacancy centers in quartz