Kazakh President 'weathered attempted coup d'etat'