Motivational Orientations and Cognitive Abilities: An Empirical Investigation in Primary School