Optimal policy and network effects for the deployment of zero emission vehicles