Plasma diagnostic tools for optimizing negative hydrogen ion sources