On the structure and bonding of neutral and ionized molecules