Guptill hammers ton as Quetta outplay Karachi by six runs in thriller