A Turkish prosecutor and two gunmen who took him hostage have been killed after a shootout at a courthouse in Istanbul