Structure-Preserving Algorithms with Uniform Error Bound and Long-time Energy Conservation for Highly Oscillatory Hamiltonian Systems