Two- and three-dimensional zinc oxide nanostructures and its photocatalytic dye degradation performance study