Approach learning and extinction as a function of avoiding predatory attacks