Common mechanisms regulating cell cortex properties during cell division and cell migration