Doping of ultra-thin Si films: Combined first-principles calculations and experimental study