X-ray inspection and detection systems and their applications in the food industry