p21CIP1 mediates reciprocal switching between proliferation and invasion during metastasis