Smith apologizes for past comments on the Russian invasion of Ukraine