The role of spatial variations of abiotic factors in mediating intratumour phenotypic heterogeneity