A low cost programmable pulse generator for neurophysiology and behavior