Measurement of b hadron lifetimes in pp collisions at √s=8TeV