Essays on Productivity and Panel Data Econometrics