Electron liquids and solids in one dimension