A regularization procedure for solving some singular integral equations of the second kind