Duality and asymptotic behaviour of correlation functions in the two-dimensional Ising model