Smith apologizes for past comments on Russian invasion of Ukraine