DEFT: Efficient Fine-Tuning of Diffusion Models by Learning the Generalised h-transform