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