Simulation and measurement of residual stress and warpage in a HgCdTe-based infrared detector at 100 K