Fabrication of cobalt ferrite nanostructures and comparison of their electrochemical properties