Integrating vehicle-to-grid contract design with power dispatching optimisation: managerial insights, and carbon footprints mitigation