Use of the splitting method to solve problems of the dynamics of a viscous incompressible fluid