ts_to_df function

Convert time series to tibble