Microstructure formation in Sn-Cu-Ni solder alloys