Multifunctional surface coating using chitosan and its chemical functionalization