A study found those consuming too much sodium saw a decline in their memory over a six-year period - particularly when trying to recall events.