Universal solders for direct bonding and packaging of optical devices