Effect of geometry on the magnetic properties of CoFe2O4–PbTiO3 multiferroic composites