Spectral changes produced in Young's interference experiment