Michael Portillo travels by train from Lymington to Exmouth, discovers how the introduction of the railway inspired Thomas Hardy.