Measurement of charged jet production cross sections and nuclear modification in p–Pb collisions at √sNN=5.02 TeV