US in talks with countries including Israel and Egypt to allow safe passage of Americans and other civilians out of Gaza