Reds rallly in ninth to beat Marlins