Passengers whose flights are delayed by three hours or more should be entitled to compensation from airlines, according to a senior European Court of Justice (ECJ) official.