Kazakh president says 'order has been restored' after attempted coup