Density-matrix renormalization-group method in momentum space.