Novel electronically switched multichannel receiver for wavelength-division-multiplexing systems