A multi-stage planning model for transitioning to low-carbon integrated electric power and natural gas systems