Management of renewable-based multi-energy microgrids in the presence of electric vehicles