The balance between cell cycle arrest and cell proliferation: control by the extracellular matrix and by contact inhibition