Home Secretary Theresa May has told the Conservative party conference that high levels of immigration threaten the cohesion of society.