Time-resolved total internal reflection fluorescence spectroscopy of polymer films