Student and teacher perceptions of the functions of research in the context of a design-oriented STEM module