A polymer–metal–polymer–metal heterostructure for enhanced photocatalytic hydrogen production