Nashville school shooting was apparently a targeted attack, police say