LeBron James scored 36 points, 32 in the second half, as the Cleveland Cavaliers beat the Atlanta Hawks 98-94.