Watching TV is linked to dementia risk while computer can guard against it