Functionalized Ti3C2Tx MXene with layer-dependent band gap for flexible NIR photodetectors | Synapse