Patterning of cancerous cells driven by a combined modification of mechanical and chemical properties of the substrate