Comparison of luminous-intensity scales based on trap detectors and incandescent lamps