Security sensors and detectors