Luminescent and magnetic properties of three novel metal–organic polymers based on a semi-rigid tripodal carboxylic ligand