Automatic liquid chromatography of primary mono- and diamines on a cation-exchange resin