Energy Conservation Issues in the Numerical Solution of Hamiltonian PDEs