Chain formation in homogeneous gas–liquid nucleation of polar fluids