Investigation of the basic laws in the solid-phase cyclization of polyhydrazides