Cognitive change and learning from practice: a longitudinal study of social work students