Rcpp interface to xts objects