Structural stability, tunable electronic and optical properties of two-dimensional WS2 and GaN heterostructure: First-principles calculations