High contrast solid state electrochromic devices based on Ruthenium Purple nanocomposites fabricated by layer-by-layer assembly.