Measuring wage discrimination according to an expected utility approach