Self-assembling and electrochromic films of bipyridinium building blocks