Thousands of flights canceled due to bad weather, FAA staff shortages