Title: An electronic actograph for automatic registration of animal locomotion