Braves outlast Cardinals 9-7 in 12 innings