Obama speaks to war vets, comments on Iraq, Afghanistan