Tipping and the Dynamics of Segregation in Neighborhoods and Schools