EU court upholds ruling that airlines must pay customers compensation for flight delays