Kernel-based estimators for functional causal effects