Time-interval measuring modules with short deadtime