Karzai says will sign US deal but sets conditions