Controlled response wavelength shifting in ultraviolet photodetectors based on double-layer films