Coinbase posts net loss as revenue declines for 3 quarters