Beta spectrometer with a Si(Li) detector in a homogeneous magnetic field