Thermal annealing-induced structural reorganization in polymeric photocatalysts for enhanced hydrogen evolution.