Application of machine-learning models to improve the image quality of photon-counting CT images