Sussex have signed 38-year-old seamer Jon Lewis on a one-year contract following his release from Surrey at the end of the season.