Design of a hierarchical structure of ZnO by electrochemistry for ZnO‐based dye‐sensitized solar cells