Determination and analysis of the linear and second order nonlinear optical properties of Na2TeW2O9