Student teachers' learning about subject matter and pedagogy in education for sustainable development