Synthesis, characterization, and polymerization of vinylmelamines