A Class of Singularly Perturbed Semilinear Differential Equations with Interior Layers