Configuration-Interaction Calculation of H3 and H2