US unlawfully detaining prisoners in Guantanamo: Lawyer