Electrical and optical properties of some M2v−bN3vi−b semiconductors