Chatbots might disrupt math and computer science classes. Some teachers see upsides