Two circles lie outside the regular octagon $ABCDEFGH$. The first is tangent to $\overline{AB}$, and the second is tangent to $\overline{EF}$. Both are tangent to lines $BC$ and $HA$. What is the ratio of the radius of the second circle to the radius of the first circle?