Magnetic ion-exchange nanoparticles and their application in proton exchange membranes