Functional changes in brain oscillations in dementia: a review