Control of cell differentiation by mechanical stress