The frequency and severity of road traffic accidents studied by state space methods