Many body effects in the temperature dependence of threshold in a vertical-cavity surface-emitting laser