Near-surface controls on the composition of growing crystals: Car–Parrinello molecular dynamics (CPMD) simulations of Ti energetics and diffusion in alpha quartz