Mechanistic insights from ab initio calculations on a nitrogen analogue of the boron-mediated aldol reaction