photodetector dual optical port electrical equivalent