Marangoni effect in nematic liquid crystals