From nanowires to hierarchical structures of template-free electrodeposited ZnO for efficient dye-sensitized solar cells