Measurement of the b baryon lifetime and branching fractions in Z decays