A simple photolytic reactor employing Ag-doped ZnO nanowires for water purification