Advanced Optical Methods for Functional Brain Imaging: Time-Domain Functional Near-Infrared Spectroscopy