Structural and magnetic properties of chromium-doped ferrite nanopowders