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