A comparative study of a direct and pulse electrode-position method of TiO2 films and its effect on photo-electrocatalytic degradation of methyl orange dye