Use of protein cages as a template for confined synthesis of inorganic and organic nanoparticles.