Cognition-based assessment and teaching of fractions