Method of singular integral equations in two-dimensional static problems of the theory of cracks