Federated estimation of causal effects from observational data