what sort of story is the scarlet letter