Effects of optical constants on time-gated transillumination of tissue and tissue-like media