On the mechanism of the polymerization of ε‐caprolactam. IV. Polymerization in the presence of water and either an amine or a carboxylic acid