when does precipitate form in a chemical reaction