Obama: Yemen packages were threat