Teaching thinking: a cognitive behavioral perspective