Effect of intermetallic compounds on thermomechanical reliability of lead-free solder interconnects for flip-chips