Polymer-controlled core–shell nanoparticles: a novel strategy for sequential drug release