Modulated TiO2 nanotube stacks and their use in interference sensors