Assessing the economic viability of electric vehicle-to-grid services through infrastructure and market participation investments