Machine learning time series regressions with an application to nowcasting