John Langley, who helped pioneer reality television as a creator and executive producer of “Cops,” which became one of the longest-running shows in history before being canceled last year amid criticism that it reinforced racial stereotypes and glorified police misconduct, died June 26 while competing in an off-road race in Baja, Mexico. He was 78.