Structural Diversity, Magnetic Properties, and Luminescent Sensing of the Flexible Tripodal Ligand of 1,3,5-Tris(4-carbonylphenyloxy)benzene Based Mn(II)/Cd(II) Coordination Polymers