Bitcoin hits three-month high, buoying crypto stocks