Electronic structures of transition metal dipnictides X P n 2 ( X = Ta , Nb; P n = P , As, Sb)