Formar Iranian president slams U.S. policy, says armed forces ready to resist any threat