A British man has pleaded guilty to conspiring to hack the computers of at least a dozen companies and to steal at least $8m (£5.9m) in virtual currency from people in the US.