Design and implementation of a portable fNIRS embedded system