Photon-counting CT explained - part 1