Electrochemical and electrochromic properties of a novel copolymer based on perylene and EDOT