Ion-Conductive and Transparent Resorcinol-Formaldehyde Hydrogels for Electrochemical and Solar Applications