An integrated approach to optimize solder joint reliability