Rangers beat Cardinals 2-1, sweep 3-game series