Conditional Instrumental Variable Regression with Representation Learning for Causal Inference