Dependence of photocatalysis on charge carrier separation in Ag-doped and decorated TiO2 nanocomposites