Military technology and humanitarian law