School threat cites planned beheadings, police chief says