History influences signal recognition: neural network models of túngara frogs