2 Brooklyn students accused of poisoning teacher