Measurement of the cross-section and charge asymmetry of W bosons produced in proton–proton collisions at √s = 8 TeV with the ATLAS detector