Tens of thousands of people have rallied in Croatia in an environmental demonstration.