Provinces agree to unbundling of gas companies