Toshiba Logs Surprise Quarterly Operating Loss As Costs Surge