Design, development, and testing of an environmental P-T cell for infrared spectroscopy measurements