Effect of aliphatic tails on surface anchoring of amphiphilic ruthenium-polypyridine complexes in water-cast polymer films as studied by photoinduced electron-transfer and optical second harmonic generation