π-electron approximation in pyridine and related compounds