Cortical and subcortical contributions to the representation of temporal information