The origins of the gender pay gap: education and job characteristics