In situ monitoring of solid-state polymerization reactions in sodium chloroacetate and sodium bromoacetate by 23Na and 13C solid-state NMR spectroscopy