The president’s authority as Commander-in-Chief comes from