Lanthanide contraction and anion-controlled structure diversity in two types of novel 3d-4f heterometallic coordination polymers: Crystal structure and magnetic properties