Eating high levels of some soy products - including tofu - may raise the risk of memory loss, research suggests.