Effect of situational factors on the self-attributions of females and males