Inclusive-jet and dijet cross sections in deep inelastic scattering at HERA