Second-harmonic generation spectroscopy of excitons in ZnO