A technical issue with the air traffic controller NATS has caused thousands of flights in the UK to be grounded this week.