An infrastructure for charging electric vehicles takes shape