Factors associated with prognosis after small-vessel occlusion among young and middle-aged patients: a hospital-based follow-up study