FPGA based digital lock-in amplifier for fNIRS systems