Estimating Continuous Treatment Effects with Two-Stage Kernel Ridge Regression