Contributions of rare and common variation to early-onset and atypical dementia risk