Locus of control, causal attributions and affects in achievement-related contexts