Enhanced thermoelectric figure of merit in nanostructured ZnO by nanojunction effect