Stationary states of systems with intermolecular interactions dominated by electrostatics: Structure of trimethylammonium and tetramethylammonium chlorides and bromides in the gas phase, monomers and dimers