Effect of applied potential on the photocatalytic degradation of aniline