Isoreticular two-dimensional magnetic coordination polymers prepared through pre-synthetic ligand functionalization