Two-wavelength interferometer based on a two-color laser-diode array and the second-order correlation technique