Protesters and police clash over detention of Istanbul mayor