Gravar-mail: Automated long-term recording and analysis of neural activity in behaving animals