Epistemology of causal inference in pharmacology: Towards a framework for the assessment of harms