What influence does the liver have on acid base homeostasis?