Validating Conditional Density Models and Bayesian Inference Algorithms