Design of X-ray units for inspection applications (review)