Heart attack survivors can face memory struggles research reveals