Green synthesis of zinc oxide nanostructures and investigation of their photocatalytic and bactericidal applications