The US State Department has accused the UK of having "significant human rights issues", including restrictions on free speech.