Electrical control of second-harmonic generation in a WSe2 monolayer transistor.