Synthesis of layered metal dichalcogenides with organic cations by electrochemical reduction in suspensions