Magneto-ionic phase control in a quasi-layered donor/acceptor metal–organic framework by means of a Li-ion battery system