Quantifying the role of stem cells in cancer