Kapitalizm, Protestanlık ve İslam