Continuous Galerkin and Enriched Galerkin Methods with Arbitrary Order Discontinuous Trial Functions for the Elliptic and Parabolic Problems with Jump Conditions