Contact structures on product five-manifolds and fibre sums along circles