The role of gender in accountability and competition