Measuring productivity and efficiency: a Kalman filter approach