Optical solitons to the resonance nonlinear Schrödinger equation by Sine-Gordon equation method