Formation of enrichment layers in thin polymer films: The influence of single chain dynamics