Modeling and experimental investigation of melamine-formaldehyde polymerization