Measurements of the half-life of 214Po and 218Rn using digital electronics.