Negative ion production in hydrogen plasmas confined by a multicusp magnetic field