Enhanced photocurrent and photoluminescence spectra in MoS2 under ionic liquid gating