Measurement of the lifetime of hadrons containing the b-quark☆