Upper semicontinuity of Nemytskij operators