Nonlinear diffusions and optimal constants in Sobolev type inequalities: asymptotic behaviour of equations involving the p-Laplacian