Potentiometric detection of polyions based on functionalized magnetic nanoparticles