Synthesis and Characterization of Three-Dimensional 3d−3d and 3d−4f Heterometallic Coordination Polymers with High Thermal Stability