Modeling and Characterization of a Resonant Converter from a Hamiltonian Systems Perspective