Turkey detains a ‘main perpetrator’ of bombings that killed 51