Discontinuous Galerkin method of lines for solving nonstationary singularly perturbed linear problems