Approximation of set-valued functions by single-valued ones