Regression with Input-Dependent Noise: A Bayesian Treatment