Burst-tree decomposition of time series reveals the structure of temporal correlations