Developing and applying a constitutional framework for public participation in South Africa