Kazakhstan unrest was coup attempt, says president