A study on ionic gated MoS2 phototransistors