Improving the measurement of vital events