Police and demonstrators have clashed in Paris as tens of thousands took the streets to protest against new security law.