A group of experts in medicine, law and ethics accused the United States government of directing doctors and others to ignore their professional codes of ethics by abusing detainees.