P/N-Type Conversion of 2D MoTe2 Controlled by Top Gate Engineering for Logic Circuits.