Thermomagnetic behaviour of the two-dimensional electron gas in GaAsAlxGa1−xAs heterostructures