Negotiating the gothic in the fiction of Thomas Hardy