Pyroelectric detectors and sensor