The effects of primaries on electoral performance: France and Italy in comparative perspective