Magnetic methacrylated gelatin-g-polyelectrolyte for methylene blue sorption