Elastic properties and Ion-mediated domain switching of self-assembled heterostructures CuInP2S6-In4/3P2S6