Chemical evolution and mineral deposition in boiling hydrothermal systems