Formation and stability of vortex solitons in nematic liquid crystals.