Design and production of environmentally degradable quaternary ammonium salts