Mirror Inversion of Quantum States in Linear Registers