The city council has chosen a temporary mayor to take over from Ekrem Imamoglu, who was jailed last week.