Biomimetic multifunctional porous chalcogels as solar fuel catalysts.