Define hyperventilation and hypoventilation. What is the effect of each on carbon dioxide levels and pH?