Demonstrators called for democracy to be defended after the arrest of opposition leader Ekrem Imamoglu.