Measurement of the differential cross section and charge asymmetry for inclusive pp → W±+ X production at √s = 8 TeV