The strange midnight mass held for ghosts and the inspiration for the Charles Dickens character Miss Havisham