Distinct memory phases to different patterns of olfactory stimulation in a fly