CONTIN: A general purpose constrained regularization program for inverting noisy linear algebraic and integral equations