Nonlinear optical device and manufacturing method thereof