Neural Networks, Logistic Regression, and Calibration