All 43 police forces in England and Wales have signed up to a new voluntary code of conduct for how they use their stop and search powers.