PhoSim: A software simulation package designed for macroscopic and microscopic studies in the time-resolved optical tomography