Photoinduced valley-polarized current of layered MoS2 by electric tuning