Effective hydrogenation of g-C3N4 for enhanced photocatalytic performance revealed by molecular structure dynamics