Theory of orientation gradients in plastically strained crystals