Integrated optoelectronic device for detection of fluorescent molecules