A study of the sugar-amine reaction through model systems