Iran has long been accused by rights campaigners of extracting coerced confessions from detainees and not allowing them to fully defend themselves in court