Processes governing the evolution of moist static energy in developing and non-developing African easterly waves