Short-term memory of danger signals and environmental stimuli in immune cells