已知m^2=n+2,n^2=m+2,且m≠0,求m^3-2mn+n^3的值.