Measurement of the B ± production cross-section in pp collisions at √s=7 and 13 TeV