The two Japanese carmakers went from profit to loss as the world struggles to get its head back above water