Relativistic effects in the variable-screening model