US Senate confirms John Kerry as secretary of state