Optical solitons in nonlinear directional couplers with trial function scheme