Barnes’ late goal gives Burnley win over Stoke