Comparative study of photocatalytic and non-photocatalytic reduction of nitrates in water