Spectroscopic characterization and single molecule structures of N,N-bis-(3-phthalimidopropyl)-N-(2-hydroxyethyl)-N-propylammonium salts and their hydrates