The AKP’s path to the coup