A CMOS high-speed front-end for cluster counting techniques in ionization detectors