The stability, free energy and heat of formation of imogolite