Promoting secondary teachers' diagnostic competence with respect to functions: development of a scalable unit in continuous professional development