REM sleep behavior disorder and the risk of developing Parkinson disease or dementia