Thermoelasticity and the formation of black smokers