Cognitive effort and skill acquisition