A relationship between stabilized finite element methods and the Galerkin method with bubble functions