Preparation and surface modification of chitosan nanoparticle and application in protein binding metal binding and antimicrobial activity