One-step piecewise polynomial Galerkin methods for initial value problems