Magnesium Coordination Chemistry: A Case Study of Magnesium Carboxylate Complexes with Hexamethylenetetramine