Two Mg(II) coordination polymers based on the flexible carboxylic ligands: Synthesis, crystal structures, luminescent and adsorption properties