Hundreds of flights have been delayed or cancelled after a technical issue with the UK's air traffic control system.