Determination of the πN scattering lengths from pionic hydrogen