Bacterial extracellular protein interacts with silver ions to produce protein-encapsulated bactericidal AgNPs