Intel logs its biggest quarterly loss in history