Identification of b-quark jets with the CMS experiment