Effects of a pre-shock stimulus on temporal control of behavior