Electrochemical doping of poly[4-(N,N-diphenylamino)phenylmethyl methacrylate], and rectification and photovoltaic properties