Teacher who drugged sippy cups pleads no contest