HD DVD failure to cost Toshiba nearly $1B