Effect of linkages on photocatalytic H2 evolution over covalent organic frameworks