Search for resonances in the mass distribution of jet pairs with one or two jets identified as b-jets in proton-proton collisions at sqrt(s) = 13  TeV with the ATLAS detector