A causal-inference approach for the validation of surrogate endpoints based on information theory and sensitivity analysis