A pair of new exhibitions looks at how Spiritualism influenced modern art, and how its followers believed they could contact the dead, writes Kelly Grovier.