Chatbots encouraged ‘teens’ to plan shootings in study