Optically controlled random lasing based on photothermal effect in dye-doped nematic liquid crystals