Obama nominates John Kerry for secretary of state