Laser detection by electronic instead of optical heterodyne using a two-frequency laser