Neural bases and cognitive processes of temporal discrimination