Antibacterial coatings based on chitosan for pharmaceutical and biomedical applications