Temperature and hydrostatic pressure measurements of the exciton peaks in BiI3 and SbI3