Harrison Barnes scored 25 points, including 12 in the third quarter, and the Kings beat the New Orleans Pelicans 112-106