A spin-optoelectronic detector for the simultaneous measurement of the degree of circular polarization and intensity of a laser beam