Fabrication of core–shell CoFe2O4@HAp nanoparticles: a novel magnetic platform for biomedical applications