Sixth-grade teacher admits to having sex with student while classmate stood watch