SS4Rec: Continuous-Time Sequential Recommendation with State Space Models