Chitosan derivatives as biomedical applications