Rectification in one-dimensional electronic systems