Light scattering and lasing in dye-doped nematic liquid crystals