Deadtime calibration in high-rate microstrip gas counters