Soliton solutions of the (2+1)-dimensional Nizhnik-Novikov-Veselov equation via the Lie symmetry method and its stability analysis by using bifurcation theory