Complexes of Metal-Based Nanoparticles with Chitosan Suppressing the Risk of Staphylococcus aureus and Escherichia coli Infections