Measurement of the exclusive D(p,e(+)e(-))He-3 and D(p,gamma)He-3 reactions at 98 and 176 MeV