Perceived contingency of reinforcements, helplessness, locus of control, and academic performance