Preparation and characterization of hydroxypropyl chitosan modified with nisin.