South Africa court says spanking children is unconstitutional