Role of proteins in the biosynthesis and functioning of metallic nanoparticles