Investigation of carrier heating and spectral-hole burning in semiconductor amplifiers by highly nondegenerate four-wave mixing