US secretary of state says he will not attend talks in South Africa amid spat over land expropriation law.