R code to compute MIDAS regressions