Top US officials warn of threats to upcoming conventions