T-pattern analysis for the study of temporal structure of animal and human behavior: A comprehensive review