Added R code for reproducing tables and figures.