A study of the influence of crystallite size on the electrical and magnetic properties of CuFe2O4