Shohei Ohtani earns win with perfect inning in two-way All-Star start, American League beats National League 5-2