Hanson pitches 7 innings, Braves beat Rays 5-3