Gas storage in geological formations: A comparative review on carbon dioxide and hydrogen storage