Teachers caught by police in undercover operation