Enhanced electrocatalytic reduction of CO2 with ternary Ni-Fe4S4 and Co-Fe4S4-based biomimetic chalcogels.