Obama vows to pursue diplomacy, but keeps military option open