Teachers’ professional judgement in assessment: a cognitive act and a socially situated practice