Freddy Peralta strikes out six batters through seven frames, allowing just two earned runs on five hits