Study of gel formation in the polycyclotrimerization reaction as typified by polycyanate synthesis