Chitosan as a coating material for nanoparticles intended for biomedical applications