when did the president declare war on spain?