Directed evolution in mammalian cells