Preparation of magnetic polyacrylonitrile core–shell nanospheres by the miniemulsion polymerization method