AMSTERDAM (Reuters) - Philips flagged a grim outlook after a surprise quarterly loss that was driven by writedowns on recent acquisitions to reflect weak consumer demand in Europe and the United States.