Amine-templated polymeric Mg formates: crystalline scaffolds exhibiting extensive hydrogen bonding