States get go-ahead to build electric car charging stations