Design of optimillay-tuned range-separated functionals for the evaluation of nonlinear optical properties