Investigation of the thermal cyclization of functional derivatives of poly(amido acids)