Photoelectrocatalytic reduction of perchlorate in aqueous solutions over Ag doped TiO2 nanotube arrays