A general framework to evaluate the economical environmental and social impacts related to the diffusion of electric vehicles