Wavelength multiplexing by spatial beam shifting in multilayer thin-film structures