Structure–Activity Relationships in Bulk Polymeric and Sol–Gel-Derived Carbon Nitrides during Photocatalytic Hydrogen Production