Population inversion and giant bandgap renormalization in atomically thin WS2 layers