Optimal Integration Of Battery Energy Storage And Transportation Electrification In Distribution Grids