Measurement of optical nonlinearity originating from photo-induced thermal effect for azo-dye-doped liquid crystal