pyroelectric detector in ir spectroscopy