Cardinals rally in ninth to tie Tigers 3-3