Effects of attentional and cognitive variables on spatial neglect