Pedagogical reasoning and reflective practice: a framework for teaching in a digital age