Gravar-mail: Emulating synaptic response in n- and p-channel MoS(2) transistors by utilizing charge trapping dynamics