Mechanisms of implementing public health interventions: a pooled causal mediation analysis of randomised trials