Protesters in Paris have set cars on fire and looted shops as police used tear gas and water cannons to disperse them.