How do you diagnose hypoventilation?