Synthesis and magnetic properties of a series of 3d/4f/3d heterometallic trinuclear complexes incorporating in situ ligand formation