Determining the onset of heat stress in a dairy herd based on automated behaviour recognition