Molecular determinants of ligand specificity in carbohydrate-binding modules: an NMR and X-ray crystallography integrated study