Electrogenerated networks from poly (4-(diphenylamino)benzyl methacrylate) and their electrochromic properties