Obama nominates John Kerry to be secretary of state