Electrochemical control of montmorillonite clay swelling