Coating of chitosan onto bone implants