Geometric distortion corrections for fiber-optic tapers in X-ray charge-coupled-device detectors