Mathematical Knowledge of Pre-Service Early Childhood and Primary Education Teachers: an Approach Based on the Design of Tasks Involving Patterns