Continuous and discontinuous finite element methods for burgers' equation