Effects of additive elements on structural and electronic properties of Sn-based intermetallics by first principles