Wainwright sharp, Cardinals beat Braves 3-1