Defense official resigned after Cole attack, says warnings were ignored