A numerical solution of the dissipative wave equation by means of the cubic B-spline method