Optical nonlinearity of the cadmium chalcogenide nanomaterials