Coinbase reports profits for first time in two years