Going to sleep while smelling lavender, eucalyptus or rosemary could boost your memory later in life, study finds