South Africa slides into recession as economy contracts