Interatomic interactions and electronic properties of NaCl-type TixAl1−xNy