Kazakh president says unrest was coup attempt