Mapping mechanisms and growth regimes of magnesium electrodeposition at high current densities