who was the first president to declare war