More than 50 candidates and their supporters have been attacked ahead of a second round of voting in France's parliamentary elections.