Ab initio and molecular mechanics (MM2 and MM3) calculations of positively charged conjugated nitrogen-containing compounds