Juan Manuel Marquez avenged his two previous defeats to Manny Pacquiao by producing a devastating sixth-round knockout in Las Vegas.