Search for narrow resonances and quantum black holes in inclusive and b-tagged dijet mass spectra from pp collisions at root s=7 TeV