Influence of environmental factors on the electrocatalytic dechlorination of 2,4-dichlorophenoxyacetic acid on nTiN doped Pd/Ni foam electrode