Molecular orbital studies of the energies and structure of polyatomic cations