Enhanced photocatalytic and antibacterial activities of sol–gel synthesized ZnO and Ag-ZnO