QB Alex Smith retiring from football