Interfacial effects in thin films of polymeric semiconductors