Freeman, Smith key 6-run 8th, Dodgers rally to beat Reds 9-3