Electrical and magnetic properties of chromium-substituted cobalt ferrite nanomaterials