Adapting to Label Shift with Bias-Corrected Calibration