On photoelastic stress measurements in optically absorbing medium