Thermal imaging and stress analysis for predicting the behaviour and long-term performance of flare tips