Clashes between French police and protesters after largely peaceful demonstrations that drew thousands