Spain has been warned to brace for sub-zero temperatures and dense fog that is putting many flights at risk of cancellation.