Devices comprising a junction of dissimilar materials