United States presidents and defense secretaries possess the legal authority to relieve or dismiss general and flag officers