Hybrid metal–polymer composites from functional block copolymers