Protein-templated synthesis of metal-based nanomaterials.