Synthesis and characterization of novel water-soluble polyamides with enhanced barrier properties