Optimised synthesis of close packed ZnO cloth and its applications in Li-ion batteries and dye-sensitized solar cells