Obama nominates Kerry for secretary of state