An automatic activity-monitoring system for small mammals under natural conditions