Jonathan Rea clinched his fifth World Superbikes double of the season after two race wins at Magny-Cours.