Electrochemical aspects of hydrocarbon reservoirs and surface seeps