Rapid synthesis of MoS2 for transistors and memristors | Synapse