When are endocytosis and exocytosis likely to occur?