Design, Synthesis, and Self-Assembly of Supramolecular Fractals Based on Terpyridine with Different Transition Metal Ions