Distribution of single molecules in polymer thin films