School grades aged 10 predict risk of dementia