Second-harmonic generation in molybdenum disulfide