Decoupling Feature Extraction and Classification Layers for Calibrated Neural Networks