K and L X-ray thresholds in III–VI layer semiconductors