Monolithically integrable solid-state wavelength meter for frequency stabilization in dense WDM networks