Synthesis of tri-layer hybrid microspheres with magnetic core and functional polymer shell