US firm apologises for seeking ‘preferably Caucasian’ candidate