Police in Ivory Coast have fired tear gas and used batons to disperse crowds protesting about a ban on plastic bags used to carry water.