The mechanism of inclusion formation during crystal growth by the travelling heater method