Structural and magnetic properties of pure and doped nanocrystalline cadmium ferrite