Measurements of differential jet cross sections in proton-proton collisions at sqrt(s) = 7 TeV with the CMS detector