Teaching educational psychology through instructional planning