Metallopolymers for energy production, storage and conservation