Dual-gated MoS2 neuristor for neuromorphic computing