Police: Teens beat guards, escape from detention center