A phenomenological model for cell and nucleus deformation during cancer metastasis