Needle-compatible miniaturized optoelectronic sensor for pancreatic cancer detection