A Hybrid CUSUM approach to identify residency and transition periods for animal movement with an application to housed dairy cows