Syntheses, Crystal Structures, and Magnetic Properties of Metal–Organic Hybrid Materials of Co(II) Using Flexible and Rigid Nitrogen-Based Ditopic Ligands as Spacers