Repurposing oil and gas infrastructure: an economical approach for energy transition