Ginkgo ineffective against dementia, study finds