My wife threatened to kill my first wife and children – Man tells court