Observation of excitonic resonances in the second harmonic spectrum of MoS2