Decision trees as a model of chance perception