Barton, Nuggets hand Bucks rare defeat at home, 127-115