Celtic boosted their hopes of progressing in the UEFA Champions League with a 2-1 victory at home to Ajax.