Thermal effects on the location of ice stream margins