Wavelength detector using a pair of metal-semiconductor-metal photodetectors with subwavelength finger spacings