A system for automated recording and analysis of feeding behavior