The meaning of foreclosure and how it can affect a home sale