Hydrogel cools electronics while converting waste heat into electricity