Hundreds have been arrested as violent clashes erupt across France during nationwide demonstrations.