Size-controlled synthesis and characterization of CoPt nanoparticles using protein shells.