Effect of delamination on the thermal fatigue of solder joints in flip chips