Mg doping in nanosheet-based spherical structured ZnO photoanode for quasi-solid dye-sensitized solar cells