A measurement of the branching fractions of the b-quark into charged and neutral b-hadrons