Inspection of the contents of multi-package consignments and pallets