Characteristics of cesium iodide for use as a particle discriminator for high-energy cosmic rays