The synthesis of polymers of intrinsic microporosity (PIMs)