Three essays on the economics of religion and politics