Warriors set NBA record with 51-point first quarter in demolition of Nuggets