Militants attack Karachi stock exchange, killing at least 3