John Kerry sworn in as secretary of state