Anthraquinone-functionalized polyurethane designed for polymer electrochromic and electrical memory applications