Cardinals beat Braves to advance to the NLDS