Detectors and Sensors Used for Home and Workplace Security: How Do They Work and Why Are They Important?