Attitudes towards economic risk and the gender pay gap