Hierarchically nested time series models from dendrograms