What products are obtained when barium chloride reacts with water?