Second harmonic generation in d-threonine