The US and Israel have signed a deal allocating land for a permanent US embassy in West Jerusalem.