Water-soluble Tb(3+) and Eu(3+) complexes based on task-specific ionic liquid ligands and their application in luminescent poly(vinyl alcohol) films.