First-principles calculation of second harmonic generation in α-quartz