Police officers detained for alleged illegal wiretapping