French far-right, far-left gain ground in municipal vote