Former Guantanamo inmates tell of confessions under 'torture'