Iran's president, criticizing US, likens sanctions to 'war'