Preparation of silica stabilized Tobacco mosaic virus templates for the production of metal and layered nanoparticles.