A British man accused of hacking into thousands of United States government computers can be extradited to the US to face trial, a court in Britain rules.