Photo- and electrochemical properties of linked ferrocene and viologen donor-acceptor-type molecules and their application to electrochromic devices