Teacher bombarded boy with 25K texts, had sex with him: Cops