Efficient Electrochemical and Photoelectrochemical Water Splitting by a 3D Nanostructured Carbon Supported on Flexible Exfoliated Graphene Foil