Ab initio simulation of oxygen vacancy bistability in pure and Ge-doped alpha-quartz.