Optimal Selection of Measurements and Manipulated Variables for Production Control