A framework for analysing the links between religion and development