Influence of self-absorption on plasma diagnostics by emission spectral lines.