President Recep Tayyip Erdogan claims the death penalty could be restored in Turkey following a failed military coup to oust him from power.