A Markovian decision model of adaptive cancer treatment and quality of life