Experimental technique to correlate optical excitation intensities with electrical excitation intensities for semiconductor optoelectronic device characterization