Application of the method of molecular orbitals to investigating the effects of conjugation between phenyl and 5-membered N-heteroatom rings