Effect of imides on the alkaline polymerisation of caprolactam